package com.mall.live.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author LiJinYang
 * @version 1.0
 * @email 283006176@qq.com
 * @date 2021/07/31 10:07
 */
@FeignClient("alipay")
@RequestMapping(value = "/aliPay")
public interface OrderFegin {

    /**
     * 发起支付接口
     * @param id 订单id
     * @return 支付页面
     */
    @RequestMapping( "/payOrder/{id}")
    public String doPay(@PathVariable("id") Long id);
}
